#ifndef _COLOR_H_
#define _COLOR_H_

namespace visualization
{

class Color
{
public:
	unsigned char r;
	unsigned char g;
	unsigned char b;
	unsigned char a;

	Color(unsigned int i)
	{
		a = static_cast<unsigned char>(i);
		b = static_cast<unsigned char>(i>>8);
		g = static_cast<unsigned char>(i>>16);
		r = static_cast<unsigned char>(i>>24);
	}
};

}

#endif

